package cn.stylefeng.guns.modular.goodsEvaluate.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 商品评价
 * </p>
 *
 * @author lcw
 * @since 2019-11-01
 */
@TableName("tao_goods_evaluate")
public class TaoGoodsEvaluate implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 商品id
     */
    @TableField("good_id")
    private String goodId;


    /**
     * 自定义字段 通过商品的 good_id 查询商品名称
     */
    @TableField("good_names")
    private String goodNames;


    /**
     * 商品评价内容
     */
    @TableField("content")
    private String content;

    /**
     * 评价图片
     */
    @TableField("pic")
    private String pic;


    /**
     * 整体评价
     */
    @TableField("evaluate_stars")
    private String evaluateStars;

    /**
     * 评价时间
     */
    @TableField("time")
    private Date time;

    /**
     * 微信用户open_id
     */
    @TableField("wx_open_id")
    private String wxOpenId;


    /**
     * 自定义字段 微信昵称
     */
    @TableField("weixin_name")
    private String weixinName;


    /**
     * 视频路径
     */
    @TableField("video_url")
    private String videoUrl;


    /**
     * 服务态度评价
     */
    @TableField("service_attitude")
    private String serviceAttitude;


    /**
     * 物流服务评价
     */
    @TableField("logistics_service")
    private String logisticsService;


    /**
     * 微信用户的头像地址
     */
    @TableField("wx_head_image_url")
    private String wxHeadImageUrl;






    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGoodId() {
        return goodId;
    }

    public void setGoodId(String goodId) {
        this.goodId = goodId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getWxOpenId() {
        return wxOpenId;
    }

    public void setWxOpenId(String wxOpenId) {
        this.wxOpenId = wxOpenId;
    }

    public String getGoodNames() {
        return goodNames;
    }

    public void setGoodNames(String goodNames) {
        this.goodNames = goodNames;
    }

    public String getWeixinName() {
        return weixinName;
    }

    public void setWeixinName(String weixinName) {
        this.weixinName = weixinName;
    }

    public String getEvaluateStars() {
        return evaluateStars;
    }

    public void setEvaluateStars(String evaluateStars) {
        this.evaluateStars = evaluateStars;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }


    public String getServiceAttitude() {
        return serviceAttitude;
    }

    public void setServiceAttitude(String serviceAttitude) {
        this.serviceAttitude = serviceAttitude;
    }


    public String getLogisticsService() {
        return logisticsService;
    }

    public void setLogisticsService(String logisticsService) {
        this.logisticsService = logisticsService;
    }


    public String getWxHeadImageUrl() {
        return wxHeadImageUrl;
    }

    public void setWxHeadImageUrl(String wxHeadImageUrl) {
        this.wxHeadImageUrl = wxHeadImageUrl;
    }





    @Override
    public String toString() {
        return "TaoGoodsEvaluate{" +
        "id=" + id +
        ", goodId=" + goodId +
        ", content=" + content +
        ", pic=" + pic +
        ", evaluateStars=" + evaluateStars +
        ", time=" + time +
        ", wxOpenId=" + wxOpenId +
        ", goodNames = "+ goodNames +
        ", serviceAttitude = " + serviceAttitude +
        ", logisticsService = " + logisticsService +
        ", wxHeadImageUrl = "+ wxHeadImageUrl +
        "}";
    }
}
